extends Node2D


# Called when the node enters the scene tree for the first time.
func _ready() -> void:
	$TextureRect.connect("gui_input", self, "on_input")
	pass # Replace with function body.

func on_input(event: InputEvent):
	if event is InputEventMouseButton:
		get_tree().change_scene("res://MAIN.tscn")
